Skip to content

feat(skills): 在桌面同源设置中管理无 GUI 技能目录 / manage native skill preferences from the headless workbench - #15

Draft
Facetomyself wants to merge 11 commits into
feat/web-workbench-terminal-viewerfrom
feat/web-workbench-skill-library
Draft

Facetomyself wants to merge 11 commits into
feat/web-workbench-terminal-viewerfrom
feat/web-workbench-skill-library

Conversation

@Facetomyself

@Facetomyself Facetomyself commented Nov 26, 2026 •

Copy link
Copy Markdown
Owner

Stacked on #14. Refs sqfcyily#67. This slice brings the management of the native skill library into the headless Docker Workbench. It neither enables skill execution in web chat nor introduces import, removal, MCP connections or an execution API.

  • Open real desktop Settings → Extensions. The original settings frame, extension rows/toggles and drill-in layout are shared. Built-in entries retain their original order and remain read-only; the catalog has no document instructions. Selecting an existing custom item displays the ordinary text in its native SKILL.md; no related scripts, images or links are opened. There are no skill reads on the default Models page.
  • Native discovery uses bounded, pinned, owner-readable regular files and verified directory/mount identities. Only the explicitly chosen document body is decoded for detail. No builtin runtime prompts, process launcher or skill tool loader are packaged into the headless catalog. The public list and changes stream disclose neither filesystem paths nor private settings. Recognizable key material is restricted; this is not general-purpose content redaction.
  • Saved enabled flags and role choices (null/all, []/none, selected actual role IDs) use the original config structure. Strict revisions and a single writer queue protect cooperating writers; only the targeted JSON member changes, keeping unrelated string spelling, whitespace and numeric precision. An original-login check and verified native role/document identity precede publication. Success requires durable disk readback. An unconfirmed publication is not automatically replayed.
  • Open authenticated settings pages observe bounded metadata invalidation. External document changes and another owner login trigger a re-read. Interrupted reads cannot silently keep writes active: reconnect first confirms the selected document and list; an existing role draft needs explicit review. There is no model invocation or global background job on catalog browsing or preference save.
  • Covers real owner HTTP and native files, two-owner sandboxed Chrome, one intentional synthetic local provider turn with no skill prompt/tools, the production image on native amd64, and separate default CLI starts reusing the original data and key volumes. Hosted receipts are below. The unrelated optional server-browser handoff still has an explicit acceptance gate.

Verified at d7d8868

  • Node 22, desktop build, native service and real sandboxed Chrome: 166/166 workbench, 412/412 headless and 30/30 native PTY/IPC checks; all twelve ordinary browser workflows passed. Two independent real logins exercised the shared desktop settings UI and native preferences. One toggle and four explicit role saves; a stale unsaved draft was preserved for review, never replayed after an external document change. An interrupted long-poll response after headers scrubbed the preview and froze writes; the untouched version was revalidated by fresh list and selected-document reads before the browser resumed. The separate server-browser handoff gate was still red on this commit.
  • Production Linux/amd64 image and two distinct CLI containers: image sha256:8f69e1ad2d34cdaca49d3e462c86c9ffb3a4810741e7c366efb53cb7a6331a10 (80,944,447 bytes); CLI containers 69298f32b740 → 1dc9ad211065. New login read back the native preferences on the same data/key volumes after recreation; the old cookie was denied. Only the inspected ephemeral containers and volumes were removed, leaving none. The network-none packaged HTTP test also checked a real ordinary synthetic provider turn had no skill text or tool declarations; unsolicited tool output was refused with no follow-up request or extra process.
  • Exact-HEAD audit workbook was independently reproduced byte-for-byte locally: 21 namespaces, 186 distinct methods (18 subscriptions), 47 implemented / 37 partial / 98 without recorded scope / 4 desktop-only; platform separate. Its 529 GitHub blob links are pinned to this commit. SHA-256 5a7621a5cd20841fb8d92eba33e9c7d28987e304e56ad916b34fec410195f1e4. Verified list and document screenshots contain only the synthetic editorial fixture; both are 1280×857.
  • Direct CLI: node scripts/workbench/export-parity-workbook.mjs --repo Facetomyself/deva --pr 15. It checks the AST and exact HEAD/index/worktree blobs before writing; two identical exports reuse the same bytes. No deployment on the older target machine is claimed by these receipts.

Facetomyself added 11 commits November 27, 2026 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant